package com.lejin.item.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author luminghua
 * @since 2022-04-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CourseContents implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 目录id
     */
    @TableId(value = "contents_id", type = IdType.AUTO)
    private Integer contentsId;

    /**
     * 目录名称
     */
    private String contentsName;

    /**
     * 创建时间
     */
    private Date creatTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 所属大纲
     */
    private Integer outlineId;




    @TableField(exist = false)
    private List<CourseChapter> chapters;


}
